jQuery(document).ready(function($) {
	$('#thank-you-rating').change(function() {
		var show = $(this).val();
		$('#wp-thanks5-wrap').hide();
		$('#wp-thanks4-wrap').hide();
		$('#wp-thanks3-wrap').hide();
		$('#wp-thanks2-wrap').hide();
		$('#wp-thanks1-wrap').hide();

		$('#wp-thanks'+show+'-wrap').show();
	});

	$('#email-rating').change(function() {
		var show = $(this).val();
		$('#wp-emails5-wrap').hide();
		$('#wp-emails4-wrap').hide();
		$('#wp-emails3-wrap').hide();
		$('#wp-emails2-wrap').hide();
		$('#wp-emails1-wrap').hide();

		$('#wp-emails'+show+'-wrap').show();
	});
});
